package grouplife::Schema::Result::Role;

# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE

use strict;
use warnings;

use Moose;
use MooseX::NonMoose;
use namespace::autoclean;
extends 'DBIx::Class::Core';

__PACKAGE__->load_components(qw( TimeStamp Core ));
=head1 NAME

grouplife::Schema::Result::Role

=cut

__PACKAGE__->table("role");

=head1 ACCESSORS

=head2 id

  data_type: 'integer'
  is_nullable: 0

=head2 role

  data_type: 'text'
  is_nullable: 1

=cut

__PACKAGE__->add_columns(
		"id",
		{ data_type => "integer", is_nullable => 0 },
		"user_id",
		{ data_type => "integer", is_nullable => 0},
		"created",
                { data_type => 'datetime', timezone => "Asia/Shanghai", set_on_create => 1 },
                "updated",
                { data_type => 'datetime', timezone => "Asia/Shanghai", set_on_create => 1, set_on_update => 1 },
		"role",
		{ data_type => "char", is_nullable => 1 },
);
__PACKAGE__->set_primary_key("id");


# Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-28 04:13:18
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lv6ufj+FDz68v9gIezaorQ


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
